package com.company.management.service.reward;

import com.company.management.domain.reward.dto.RewardsAddDTO;
import com.company.management.domain.reward.dto.RewardsQueryDTO;
import com.company.management.domain.reward.vo.RewardsQueryVO;

import java.util.Date;
import java.util.List;

/**
 * @description: 奖励服务接口
 * @author: wangbin
 * @time: 2025/3/1
 **/
public interface RewardsService {
    /**
     * 新增
     */
    void add(RewardsAddDTO rewardsAddDTO);

    /**
     * 根据奖励id查询奖励信息
     */
    RewardsQueryVO findByRewardId(Integer rewardId);

    /**
     * 根据用户id查询奖励列表
     */
    List<RewardsQueryVO> findByUserId(RewardsQueryDTO rewardsQueryDTO);
}
